public class Test {
    public static void main(String[] args) {
        IUsfactory admin = new Adminfactory();//用IUsfactory是方便客户端修改，同时这也是工厂模式的优势
        IUsfactory normal = new Normalfactory();
        User ad = admin.creator("东方纤云", 1000);
        User no1 = normal.creator("印飞星", 500);
        User no2 = normal.creator("蜀三路", 800);
    }
}
